package com.softwareconstruction.model;

public class ConferencePaper extends Paper {
    private String conferenceName;
    private String location;
    
    public ConferencePaper(String title, String author, String conferenceName, String location) {
        super(title, author);
        this.conferenceName = conferenceName;
        this.location = location;
    }
    
    public String getConferenceName() {
        return conferenceName;
    }
    
    public void setConferenceName(String conferenceName) {
        this.conferenceName = conferenceName;
    }
    
    public String getLocation() {
        return location;
    }
    
    public void setLocation(String location) {
        this.location = location;
    }
    
    @Override
    public String getType() {
        return "ConferencePaper";
    }
    
    @Override
    public void accept(com.softwareconstruction.pattern.PaperVisitor visitor) {
        visitor.visit(this);
    }
}